﻿using STF.Blog.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STF.Blog.IService
{
    public interface IFriendLinkService
    {
        public Task<int> AddUsersAsync(string title, string link);
        public Task<int> UpdateUsersAsync(int id, string title, string link);
        public Task<int> PutTrashAsync(int id);
        public Task<int> RestoreAsync(int id);
        public Task<int> DeleteUsersAsync(int id);
        public Task<List<FriendLinkDto>> GetAllUsersAsync(int deleteId = 1);
        public Task<List<FriendLinkDto>> GetDateByName(string title, int deleteId = 1);
        public Task<FriendLinkDto> GetDateById(int id);
    }
}
